<template>
    <div>

    </div>
</template>

<script setup lang='ts'>
import { ref, reactive, h } from 'vue'
//1. template模板书写风格2.tsx编写风格 3.函数式组件h函数//h函数的源码createvnode
//h函数的优势跳过了模板的编译
// parser -> ast -> transform ->js api -> generate -> render
let render = () => {
    return h('div', {}, [
        h('span', {}, '1')])
}

</script>

<style scoped lang="scss"></style>